package com.topscomm.meet.job;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.topscomm.meet.service.IMeetManageService;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;

/**
 * 会议管理周期会议下发的会议进行确认
 * 
 * @description:
 * @author: donghang
 * @date: 2020年11月10日下午5:29:32
 * @modify:
 */
@JobHandler("meetMangeSubmitJob")
@Component
public class MeetMangeSubmitJob extends IJobHandler {
	@Autowired
	private IMeetManageService meetManageService;

	/**
	 * 将会议确认消息转发baseRemindTask表
	 * 
	 * @description:
	 * @param param
	 * @return
	 * @throws Exception
	 * @author: donghang
	 * @date: 2020年11月10日下午7:34:13
	 * @modify:
	 */
	@Override
	public ReturnT<String> execute(String param) throws Exception {
		meetManageService.sendSubmitMessages();
		return ReturnT.SUCCESS;
	}

}
